﻿using Mes.Domain.BoundedContext;

namespace Mes.Application.DTO.Results.MasterData
{
    /// <summary>
    /// 物料清单出参
    /// </summary>
    public class MaterialBOMResult : IdEntityResult
    {
        /// <summary>
        /// 物料清单编码
        /// </summary>
        public string Code { get; set; } = string.Empty;
        /// <summary>
        ///物料清单名称
        /// </summary>
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// 物料清单版本
        /// </summary>
        public string Version { get; set; } = string.Empty;

        /// <summary>
        /// 物料清单备注
        /// </summary>
        public string Remark { get; set; } = string.Empty;

        /// <summary>
        /// 物料列表（消费品）
        /// </summary>
        public IList<MaterialResult> Materials { get; set; } = new List<MaterialResult>();
    }
}
